<?php
@require_once("config.php");
$usertel=$_GET["usertel"];
$str="SELECT sum(num) as sum FROM shoppinginfo where usertel=$usertel";
$result=mysql_query($str);
$item = mysql_fetch_array($result);
echo json_encode($item);



?>